package logic

import (
	//"bluebell/dao/mysql"
	//"bluebell/models"
	"lottery/web/blue/bluebell/dao/mysql"
	"lottery/web/blue/bluebell/models"
)

func GetCommunityList() (communitys []*models.Community, err error) {
	return mysql.GetCommunityList()
}

func GetCommunityDetail(id int64) (*models.CommunityDetail, error) {
	return mysql.GetCommunityDetailByID(id)
}
